//
//  LoadConfig.h
//  LoanOne
//
//  Created by WangZhenyu on 2017/10/5.
//  Copyright © 2017年 WangZhenyu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LoadConfig : NSObject

+ (instancetype)shareStance;

///加载APP配置文件
- (void)loadConfigSuccess:(void (^)(NSDictionary *))success failure:(void (^)(NSString *))fail;
- (NSDictionary *)getConfig;

///加载贷款分类
- (void)loadCategoriesSuccess:(void (^)(NSArray *))success failure:(void (^)(NSString *))fail;
- (NSArray *)getCategories;

///加载助手内容
- (void)loadToolsSuccess:(void (^)(NSDictionary *))success;
- (NSDictionary *)getTools;

- (void)loadBankajinduSuccess:(void (^)(NSDictionary *))success;
- (NSDictionary *)getBankajindu;

- (void)loadPersonSuccess:(void (^)(NSDictionary *))success;
- (NSDictionary *)getPerson;

- (void)loadAboutSuccess:(void (^)(NSDictionary *))success;
- (NSDictionary *)getAbout;

@end
